{% extends "base_intranet.html" %}

{% block content %}

  {% if form.errors %}
    <p class="error">Kullanıcı Adı ya da Şifre Hatalı</p>
  {% endif %}
<div style="font-size: 12px; float: center;" align="center">
  <form action="" method="post"> 
  <div>
	<fieldset>
		<legend>Kullanıcı Girişi</legend>
  <div>
  <table>
  <tbody>
  	<tr>
	  <td>
	    <label for="username">Kullanıcı Adı:</label>
  	  </td>
  	  <td>
  	    <input type="text" name="username" value="" id="username">
  	  </td>
  	</tr>
            <tr>
               <td>
    	    <label for="password">Şifre:</label>
    	   </td>
    	   <td>
    	    <input type="password" name="password" value="" id="password">
	   </td>
	</tr>
    </tbody>
    <tfoot>
    <th scope="row">&nbsp</th>
	<td colspan="4"><input type="submit" value="Giriş" /></td>
    </tfoot>
    </table>
    
    <input type="hidden" name="next" value="{{ next|escape }}" />
    </div>
    </fieldset></div>
  </form>
</div>
{% endblock %}
{%block script%}
<link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
{%endblock%}